package com.vil.entity;

import java.io.Serializable;
import java.util.Date;

public class Function implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 功能英文名称
     */
    private String function_code;

    /**
     * 功能名称
     */
    private String function_name;

    /**
     * 功能地址
     */
    private String function_url;

    /**
     * 一级菜单id
     */
    private Long parent_id;

    /**
     * 创建时间
     */
    private Date create_time;

    private Long role_id;  //角色id

    /**
     * 状态(1为启用，0为禁用)
     */
    private Integer status;

    public void setRole_id(Long role_id) {
        this.role_id = role_id;
    }

    public Long getRole_id() {
        return role_id;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFunction_code() {
        return function_code;
    }

    public void setFunction_code(String function_code) {
        this.function_code = function_code;
    }

    public String getFunction_name() {
        return function_name;
    }

    public void setFunction_name(String function_name) {
        this.function_name = function_name;
    }

    public String getFunction_url() {
        return function_url;
    }

    public void setFunction_url(String function_url) {
        this.function_url = function_url;
    }

    public Long getParent_id() {
        return parent_id;
    }

    public void setParent_id(Long parent_id) {
        this.parent_id = parent_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}